package com.wwj.springcloud;

import com.wwj.myRule.FooConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

@SpringBootApplication
@EnableEurekaClient
// 在微服务启动时加载自定义ribbon，设置轮询
@RibbonClient(name = "springcloud-provider-dept", configuration = FooConfiguration.class)
public class DeptCustomer_80 {

    public static void main(String[] args) {
        SpringApplication.run(DeptCustomer_80.class, args);
    }

}
